package com.asp.service;

import com.asp.dto.AvatarUploadDTO;
import com.asp.dto.CenterChangeDTO;
import com.asp.dto.PersonTopicPageQueryDTO;
import com.asp.dto.UserLoginAndRegisterDTO;
import com.asp.entity.User;
import com.asp.result.PageResult;


/**
 * author:          ndg
 * date:            2023/12/29
 */
public interface CenterService {
    void register(UserLoginAndRegisterDTO userLoginAndRegisterDTO);

    User login(UserLoginAndRegisterDTO userLoginAndRegisterDTO);

    String avatar(AvatarUploadDTO avatarUploadDTO);


    void delete(String password);


    PageResult showTopicPageQuery(PersonTopicPageQueryDTO personTopicPageQueryDTO);

    void change(CenterChangeDTO centerChangeDTO);
}
